package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.SysDictionary;
import com.voltmao.persistent.model.SysDictionaryCriteria;

import java.util.List;
import java.util.Map;

public interface SysDictionaryMapper {
    int countByExample(SysDictionaryCriteria example);

    int deleteByExample(SysDictionaryCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(SysDictionary record);

    int insertSelective(SysDictionary record);

    List<SysDictionary> selectByExample(SysDictionaryCriteria example);

    SysDictionary selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") SysDictionary record, @Param("example") SysDictionaryCriteria example);

    int updateByExample(@Param("record") SysDictionary record, @Param("example") SysDictionaryCriteria example);

    int updateByPrimaryKeySelective(SysDictionary record);

    int updateByPrimaryKey(SysDictionary record);

    SysDictionary selectByExampleForOne(SysDictionaryCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(SysDictionaryCriteria example);

    List<Map<String, Object>> selectMapByExample(SysDictionaryCriteria example);
}